package com.woniu.outlet.mysql.dao;

import com.woniu.outlet.mysql.po.HoldProductMySQL;
import com.woniu.outlet.mysql.po.HoldProductMySQLExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface HoldProductDao {
    long countByExample(HoldProductMySQLExample example);

    int deleteByExample(HoldProductMySQLExample example);

    int deleteByPrimaryKey(Long id);

    int insert(HoldProductMySQL record);

    int insertSelective(HoldProductMySQL record);

    List<HoldProductMySQL> selectByExample(HoldProductMySQLExample example);

    HoldProductMySQL selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") HoldProductMySQL record, @Param("example") HoldProductMySQLExample example);

    int updateByExample(@Param("record") HoldProductMySQL record, @Param("example") HoldProductMySQLExample example);

    int updateByPrimaryKeySelective(HoldProductMySQL record);

    int updateByPrimaryKey(HoldProductMySQL record);
}